package com.lzh.sparsearr.RandomThread;

/**
 * @author liuzhihao
 * @create 2021-08-11 22:05
 */
public class Test {

    public static void main(String[] args) {

        MyThread myThread = new MyThread();
        myThread.setName("myThread");
        myThread.start();

        for (int i = 0; i< 10000; i++) {
            System.out.println("main = " + Thread.currentThread().getName());
        }

    }

}
